package com.wanmait.meteor.pojo;

import java.io.Serializable;

public class Reginon implements Serializable {
    private Integer id;

    private String reginonName;

    private City city;

    private Province province;

    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReginonName() {
        return reginonName;
    }

    public void setReginonName(String reginonName) {
        this.reginonName = reginonName;
    }

    public City getCity() {
        return city;
    }

    public void setCity(City city) {
        this.city = city;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", reginonName=").append(reginonName);
        sb.append(", cityId=").append(city);
        sb.append(", provinceId=").append(province);
        sb.append(", enable=").append(enable);
        sb.append("]");
        return sb.toString();
    }
}